package com.app.project.monitor.druid;
 
import org.springframework.security.access.annotation.Secured;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import com.app.framework.web.controller.BaseController;

/**
 * druid 监控
 * 
 * @author app
 */
@Controller
@RequestMapping("/monitor/data")
public class DruidController extends BaseController
{
    private String prefix = "/monitor/druid";
 
    @PreAuthorize("hasRole('monitor:data:view')")    
    @GetMapping()
    public String index()
    {
        return redirect(prefix + "/index");
    }
}
